home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 7
/
Aminet 7 - August 1995.iso
/
Aminet
/
util
/
misc
/
Splice.lha
/
Splice.Doc
< prev
Wrap
Text File
|
1993-05-21
|
7KB
|
206 lines
---=== Splice Lite ===---
Have you ever had a file which is just too darn big to fit onto a floppy
disk? No matter how much you try and compress it, it just won't fit.
In desperation you resort to using a text editor to cut and past huge
chunks into other files, but alas the file is always corrupt when you try
and put it back together!
WELL WORRY NO MORE, Splice Lite is here!
Splice Lite is able to split ANY type of file into any size you so desire.
It has a number of built in options which lets you split files for direct
use on double density and high density disks.
It even has a disk space saver option which deletes the used source files
once the have been joined together. And an option for formatting the file
names for use with MS-DOS (8x3 characters).
----------------------------------------------------------
Splice Lite. Freeware version.
Usage : splice {In file} [Out file] {-j} {-p#} {-s#} {-dd} {-hd} [-options]
{Commands}
In file : The name of the file to be split or joined.
-j : JOINS specified files together.
-p# : SPLITS the file into a specified number of PORTIONS.
-s# : SPLITS the file into segments of a specified SIZE (KB).
-dd : SPLITS the file into segments of 720KB for DOUBLE DENSITY disks.
-hd : SPLITS the file into segments of 1.44MB for HIGH DENSITY disks.
[Options]
Out file : Target DRIVE for the split files.
-m : Uses MS-DOS file extensions.
-h : HELP and information.
-x : DELETES source files to save disk space.
The COMMANDS explained
^^^^^^^^^^^^^^^^^^^^^^
In file : This is the name of the file you wish to be split, or joined.
__________________oOo__________________
Out file : The target drive for the split files.
__________________oOo__________________
-m This command is used when either the source or destination files
are going to be used with the MS-DOS operating system. It
basically chops anything off after the eighth character of the
file name, and uses the extension to store the file numbers.
For example:
AVeryLongFileName becomes AVeryLon.1
If the -m option is not used the files are stored using a "_"
For example:
AVeryLongFileName becomes AVeryLongFileName_1
_________________oOo_________________
-h Displays a brief summary of the main commands used within Splice.
_________________oOo_________________
-j This toggles the JOINING mode for Splice. If you have split
a file into a number of pieces and you wish to join them back
together again, this command is used.
For example:
You have: myfile.1 myfile.2 myfile.3 myfile.4
You want to put them together to form: myfile.exe
All you have to do is:
splice myfile.exe -j
Notice: You don't include every source file name.
Splice will automatically search in the same directory for all
files with the specified name.
_________________oOo_________________
-p# This option is used for SPLITTING files. The # represents
the number of portions you want the file to be split into.
If you have a file called myfile and you want it to be split
into 4 equal portions, all you have to do is:
splice myfile -p4
The result will be: myfile_1 myfile_2 myfile_3 myfile_4
_________________oOo_________________
-s# This option is similar to -p# except YOU define the size of
the portions. For example, if you want to split myfile
into portions which will fit onto a floppy disk, you would
use the below command:
splice myfile -s1440
The size should always be entered in Kilobytes.
_________________oOo_________________
-dd This option splits the file into portions each of 720KB.
The file can then be copied onto DOUBLE DENSITY disks.
_________________oOo_________________
-hd This option splits the file into portions each of 1.440MB.
The file can then be copied onto HIGH DENSITY disks.
_________________oOo_________________
-x When a source file is finished with it is deleted from the system.
This option should only be used if you have a backup copy of
your source files. It is primarily designed for people running
low on disk space. There is however a function which warns you
if this option has been activated. BE CAREFUL.
It can be added to any of the splitting or joining operations.
Examples
^^^^^^^^
splice myfile -p2 -m -x
Will SPLIT myfile into 2 portions, use MS-DOS extensions,
and DELETE all the source files.
_________________oOo_________________
splice myfile.exe -s720 -m
Will SPLIT myfile into files no larger that 720KB, and use
MS-DOS file extensions.
_________________oOo_________________
splice myfile.exe -dd -m
Will perform the exact same operation as above. Remember that
-hd will SPLIT the file into segments of 1.44MB (1,440KB).
_________________oOo_________________
splice myfile.exe -j -x
Will JOIN myfile, and delete all the source files. Notice that
the absence of -m will cause splice to use long file names by
default.
----------------------------------------------------------
A quick disclaimer
^^^^^^^^^^^^^^^^^^
I cannot be held responsible for any damaged caused directly or indirectly
by the use of this program, irrespective of its correct or improper usage.
All liabilities lye with the user. Use it at your own risk.
Don't worry though, nobody has had any problems with it, so far!
Copyright acknowledgment
^^^^^^^^^^^^^^^^^^^^^^^^
MS-DOS is a registered trademark of the Microsoft Corporation.
Splice Turbo
^^^^^^^^^^^^
I am currently working on a turbo charged version of Splice which uses
dynamic memory allocation rather than the fixed array type currently
implemented. This will mean speed improvements of about 90%+ on floppy
disk operations. Woooooo!
Other machine versions
^^^^^^^^^^^^^^^^^^^^^^
There are versions of Splice Lite available for the : Amiga, Mac,
E-mail me for more information. PC, Sun, Vax
Wot no (C)
^^^^^^^^^^
As Splice Lite is freeware you can copy it as much as you like without
having to pay a penny. Indeed, give it to all of your friends!
What I would ask you to do is E-mail me if you use the program, just
so I know how far and wide it spreads.
Please send any suggestions and comments to: tomjerry@dcs.qmw.ac.uk
OR: AC4193@qmw.ac.uk
Thank's to;
^^^^^^^^^^^
Andrew Elia, for his input and for compiling the Amiga version (SAS/C v6.55)
Alistair Railson, for eating all my food while beta testing!
And all the Guy's and Gal's at QMW DCS London.
Mark Cunnell, May 1995.